package cc.greencat.gcmall.order.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;

/**
 * 订单
 * 
 * @author greencat.cc
 * @email greencatcc@163.com
 * @date 2021-01-11 21:56:27
 */
@TableName("order_info")
public class OrderInfoEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId
	private Long id;
	/**
	 * member_id
	 */
	private Long memberId;
	/**
	 * 订单号
	 */
	private String orderSn;
	/**
	 * 使用的优惠券
	 */
	private Long couponId;
	/**
	 * create_time
	 */
	private Date createTime;
	/**
	 * 用户名
	 */
	private String memberUsername;
	/**
	 * 订单总额
	 */
	private BigDecimal totalAmount;
	/**
	 * 应付总额
	 */
	private BigDecimal payAmount;
	/**
	 * 运费金额
	 */
	private BigDecimal freightAmount;
	/**
	 * 促销优化金额（促销价、满减、阶梯价）
	 */
	private BigDecimal promotionAmount;
	/**
	 * 积分抵扣金额
	 */
	private BigDecimal integrationAmount;
	/**
	 * 优惠券抵扣金额
	 */
	private BigDecimal couponAmount;
	/**
	 * 后台调整订单使用的折扣金额
	 */
	private BigDecimal discountAmount;
	/**
	 * 支付方式【1->支付宝；2->微信；3->银联； 4->货到付款；】
	 */
	private Integer payType;
	/**
	 * 订单来源[0->PC订单；1->app订单]
	 */
	private Integer sourceType;
	/**
	 * 订单状态【0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单】
	 */
	private Integer status;
	/**
	 * 物流公司(配送方式)
	 */
	private String deliveryCompany;
	/**
	 * 物流单号
	 */
	private String deliverySn;
	/**
	 * 自动确认时间（天）
	 */
	private Integer autoConfirmDay;
	/**
	 * 可以获得的积分
	 */
	private Integer integration;
	/**
	 * 可以获得的成长值
	 */
	private Integer growth;
	/**
	 * 发票类型[0->不开发票；1->电子发票；2->纸质发票]
	 */
	private Integer billType;
	/**
	 * 发票抬头
	 */
	private String billHeader;
	/**
	 * 发票内容
	 */
	private String billContent;
	/**
	 * 收票人电话
	 */
	private String billReceiverPhone;
	/**
	 * 收票人邮箱
	 */
	private String billReceiverEmail;
	/**
	 * 收货人姓名
	 */
	private String receiverName;
	/**
	 * 收货人电话
	 */
	private String receiverPhone;
	/**
	 * 收货人邮编
	 */
	private String receiverPostCode;
	/**
	 * 省份/直辖市
	 */
	private String receiverProvince;
	/**
	 * 城市
	 */
	private String receiverCity;
	/**
	 * 区
	 */
	private String receiverRegion;
	/**
	 * 详细地址
	 */
	private String receiverDetailAddress;
	/**
	 * 订单备注
	 */
	private String note;
	/**
	 * 确认收货状态[0->未确认；1->已确认]
	 */
	private Integer confirmStatus;
	/**
	 * 删除状态【0->未删除；1->已删除】
	 */
	private Integer deleteStatus;
	/**
	 * 下单时使用的积分
	 */
	private Integer useIntegration;
	/**
	 * 支付时间
	 */
	private Date paymentTime;
	/**
	 * 发货时间
	 */
	private Date deliveryTime;
	/**
	 * 确认收货时间
	 */
	private Date receiveTime;
	/**
	 * 评价时间
	 */
	private Date commentTime;
	/**
	 * 修改时间
	 */
	private Date modifyTime;

	/**
	 * set id
	 */
    public void setId(Long id){
        this.id = id;
    }
    /**
	 * get id
	 */
    public Long getId(){
        return this.id;
    }
	/**
	 * set member_id
	 */
    public void setMemberId(Long memberId){
        this.memberId = memberId;
    }
    /**
	 * get member_id
	 */
    public Long getMemberId(){
        return this.memberId;
    }
	/**
	 * set 订单号
	 */
    public void setOrderSn(String orderSn){
        this.orderSn = orderSn;
    }
    /**
	 * get 订单号
	 */
    public String getOrderSn(){
        return this.orderSn;
    }
	/**
	 * set 使用的优惠券
	 */
    public void setCouponId(Long couponId){
        this.couponId = couponId;
    }
    /**
	 * get 使用的优惠券
	 */
    public Long getCouponId(){
        return this.couponId;
    }
	/**
	 * set create_time
	 */
    public void setCreateTime(Date createTime){
        this.createTime = createTime;
    }
    /**
	 * get create_time
	 */
    public Date getCreateTime(){
        return this.createTime;
    }
	/**
	 * set 用户名
	 */
    public void setMemberUsername(String memberUsername){
        this.memberUsername = memberUsername;
    }
    /**
	 * get 用户名
	 */
    public String getMemberUsername(){
        return this.memberUsername;
    }
	/**
	 * set 订单总额
	 */
    public void setTotalAmount(BigDecimal totalAmount){
        this.totalAmount = totalAmount;
    }
    /**
	 * get 订单总额
	 */
    public BigDecimal getTotalAmount(){
        return this.totalAmount;
    }
	/**
	 * set 应付总额
	 */
    public void setPayAmount(BigDecimal payAmount){
        this.payAmount = payAmount;
    }
    /**
	 * get 应付总额
	 */
    public BigDecimal getPayAmount(){
        return this.payAmount;
    }
	/**
	 * set 运费金额
	 */
    public void setFreightAmount(BigDecimal freightAmount){
        this.freightAmount = freightAmount;
    }
    /**
	 * get 运费金额
	 */
    public BigDecimal getFreightAmount(){
        return this.freightAmount;
    }
	/**
	 * set 促销优化金额（促销价、满减、阶梯价）
	 */
    public void setPromotionAmount(BigDecimal promotionAmount){
        this.promotionAmount = promotionAmount;
    }
    /**
	 * get 促销优化金额（促销价、满减、阶梯价）
	 */
    public BigDecimal getPromotionAmount(){
        return this.promotionAmount;
    }
	/**
	 * set 积分抵扣金额
	 */
    public void setIntegrationAmount(BigDecimal integrationAmount){
        this.integrationAmount = integrationAmount;
    }
    /**
	 * get 积分抵扣金额
	 */
    public BigDecimal getIntegrationAmount(){
        return this.integrationAmount;
    }
	/**
	 * set 优惠券抵扣金额
	 */
    public void setCouponAmount(BigDecimal couponAmount){
        this.couponAmount = couponAmount;
    }
    /**
	 * get 优惠券抵扣金额
	 */
    public BigDecimal getCouponAmount(){
        return this.couponAmount;
    }
	/**
	 * set 后台调整订单使用的折扣金额
	 */
    public void setDiscountAmount(BigDecimal discountAmount){
        this.discountAmount = discountAmount;
    }
    /**
	 * get 后台调整订单使用的折扣金额
	 */
    public BigDecimal getDiscountAmount(){
        return this.discountAmount;
    }
	/**
	 * set 支付方式【1->支付宝；2->微信；3->银联； 4->货到付款；】
	 */
    public void setPayType(Integer payType){
        this.payType = payType;
    }
    /**
	 * get 支付方式【1->支付宝；2->微信；3->银联； 4->货到付款；】
	 */
    public Integer getPayType(){
        return this.payType;
    }
	/**
	 * set 订单来源[0->PC订单；1->app订单]
	 */
    public void setSourceType(Integer sourceType){
        this.sourceType = sourceType;
    }
    /**
	 * get 订单来源[0->PC订单；1->app订单]
	 */
    public Integer getSourceType(){
        return this.sourceType;
    }
	/**
	 * set 订单状态【0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单】
	 */
    public void setStatus(Integer status){
        this.status = status;
    }
    /**
	 * get 订单状态【0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单】
	 */
    public Integer getStatus(){
        return this.status;
    }
	/**
	 * set 物流公司(配送方式)
	 */
    public void setDeliveryCompany(String deliveryCompany){
        this.deliveryCompany = deliveryCompany;
    }
    /**
	 * get 物流公司(配送方式)
	 */
    public String getDeliveryCompany(){
        return this.deliveryCompany;
    }
	/**
	 * set 物流单号
	 */
    public void setDeliverySn(String deliverySn){
        this.deliverySn = deliverySn;
    }
    /**
	 * get 物流单号
	 */
    public String getDeliverySn(){
        return this.deliverySn;
    }
	/**
	 * set 自动确认时间（天）
	 */
    public void setAutoConfirmDay(Integer autoConfirmDay){
        this.autoConfirmDay = autoConfirmDay;
    }
    /**
	 * get 自动确认时间（天）
	 */
    public Integer getAutoConfirmDay(){
        return this.autoConfirmDay;
    }
	/**
	 * set 可以获得的积分
	 */
    public void setIntegration(Integer integration){
        this.integration = integration;
    }
    /**
	 * get 可以获得的积分
	 */
    public Integer getIntegration(){
        return this.integration;
    }
	/**
	 * set 可以获得的成长值
	 */
    public void setGrowth(Integer growth){
        this.growth = growth;
    }
    /**
	 * get 可以获得的成长值
	 */
    public Integer getGrowth(){
        return this.growth;
    }
	/**
	 * set 发票类型[0->不开发票；1->电子发票；2->纸质发票]
	 */
    public void setBillType(Integer billType){
        this.billType = billType;
    }
    /**
	 * get 发票类型[0->不开发票；1->电子发票；2->纸质发票]
	 */
    public Integer getBillType(){
        return this.billType;
    }
	/**
	 * set 发票抬头
	 */
    public void setBillHeader(String billHeader){
        this.billHeader = billHeader;
    }
    /**
	 * get 发票抬头
	 */
    public String getBillHeader(){
        return this.billHeader;
    }
	/**
	 * set 发票内容
	 */
    public void setBillContent(String billContent){
        this.billContent = billContent;
    }
    /**
	 * get 发票内容
	 */
    public String getBillContent(){
        return this.billContent;
    }
	/**
	 * set 收票人电话
	 */
    public void setBillReceiverPhone(String billReceiverPhone){
        this.billReceiverPhone = billReceiverPhone;
    }
    /**
	 * get 收票人电话
	 */
    public String getBillReceiverPhone(){
        return this.billReceiverPhone;
    }
	/**
	 * set 收票人邮箱
	 */
    public void setBillReceiverEmail(String billReceiverEmail){
        this.billReceiverEmail = billReceiverEmail;
    }
    /**
	 * get 收票人邮箱
	 */
    public String getBillReceiverEmail(){
        return this.billReceiverEmail;
    }
	/**
	 * set 收货人姓名
	 */
    public void setReceiverName(String receiverName){
        this.receiverName = receiverName;
    }
    /**
	 * get 收货人姓名
	 */
    public String getReceiverName(){
        return this.receiverName;
    }
	/**
	 * set 收货人电话
	 */
    public void setReceiverPhone(String receiverPhone){
        this.receiverPhone = receiverPhone;
    }
    /**
	 * get 收货人电话
	 */
    public String getReceiverPhone(){
        return this.receiverPhone;
    }
	/**
	 * set 收货人邮编
	 */
    public void setReceiverPostCode(String receiverPostCode){
        this.receiverPostCode = receiverPostCode;
    }
    /**
	 * get 收货人邮编
	 */
    public String getReceiverPostCode(){
        return this.receiverPostCode;
    }
	/**
	 * set 省份/直辖市
	 */
    public void setReceiverProvince(String receiverProvince){
        this.receiverProvince = receiverProvince;
    }
    /**
	 * get 省份/直辖市
	 */
    public String getReceiverProvince(){
        return this.receiverProvince;
    }
	/**
	 * set 城市
	 */
    public void setReceiverCity(String receiverCity){
        this.receiverCity = receiverCity;
    }
    /**
	 * get 城市
	 */
    public String getReceiverCity(){
        return this.receiverCity;
    }
	/**
	 * set 区
	 */
    public void setReceiverRegion(String receiverRegion){
        this.receiverRegion = receiverRegion;
    }
    /**
	 * get 区
	 */
    public String getReceiverRegion(){
        return this.receiverRegion;
    }
	/**
	 * set 详细地址
	 */
    public void setReceiverDetailAddress(String receiverDetailAddress){
        this.receiverDetailAddress = receiverDetailAddress;
    }
    /**
	 * get 详细地址
	 */
    public String getReceiverDetailAddress(){
        return this.receiverDetailAddress;
    }
	/**
	 * set 订单备注
	 */
    public void setNote(String note){
        this.note = note;
    }
    /**
	 * get 订单备注
	 */
    public String getNote(){
        return this.note;
    }
	/**
	 * set 确认收货状态[0->未确认；1->已确认]
	 */
    public void setConfirmStatus(Integer confirmStatus){
        this.confirmStatus = confirmStatus;
    }
    /**
	 * get 确认收货状态[0->未确认；1->已确认]
	 */
    public Integer getConfirmStatus(){
        return this.confirmStatus;
    }
	/**
	 * set 删除状态【0->未删除；1->已删除】
	 */
    public void setDeleteStatus(Integer deleteStatus){
        this.deleteStatus = deleteStatus;
    }
    /**
	 * get 删除状态【0->未删除；1->已删除】
	 */
    public Integer getDeleteStatus(){
        return this.deleteStatus;
    }
	/**
	 * set 下单时使用的积分
	 */
    public void setUseIntegration(Integer useIntegration){
        this.useIntegration = useIntegration;
    }
    /**
	 * get 下单时使用的积分
	 */
    public Integer getUseIntegration(){
        return this.useIntegration;
    }
	/**
	 * set 支付时间
	 */
    public void setPaymentTime(Date paymentTime){
        this.paymentTime = paymentTime;
    }
    /**
	 * get 支付时间
	 */
    public Date getPaymentTime(){
        return this.paymentTime;
    }
	/**
	 * set 发货时间
	 */
    public void setDeliveryTime(Date deliveryTime){
        this.deliveryTime = deliveryTime;
    }
    /**
	 * get 发货时间
	 */
    public Date getDeliveryTime(){
        return this.deliveryTime;
    }
	/**
	 * set 确认收货时间
	 */
    public void setReceiveTime(Date receiveTime){
        this.receiveTime = receiveTime;
    }
    /**
	 * get 确认收货时间
	 */
    public Date getReceiveTime(){
        return this.receiveTime;
    }
	/**
	 * set 评价时间
	 */
    public void setCommentTime(Date commentTime){
        this.commentTime = commentTime;
    }
    /**
	 * get 评价时间
	 */
    public Date getCommentTime(){
        return this.commentTime;
    }
	/**
	 * set 修改时间
	 */
    public void setModifyTime(Date modifyTime){
        this.modifyTime = modifyTime;
    }
    /**
	 * get 修改时间
	 */
    public Date getModifyTime(){
        return this.modifyTime;
    }

}
